import request from '@/utils/request'

// 查询车型信息列表
export function listSwCar(query) {
  return request({
    url: '/software/software/list',
    method: 'get',
    params: query
  })
}

// 根据pid查询车型信息
export function getSwCar(pid) {
  return request({
    url: '/software/software/' + pid,
    method: 'get'
  })
}
export function deletesoftware(id) {
  return request({
    url: '/software/software/' + id,
    method: 'delete'
  })
}
